package com.tss.service;

import java.util.List;

import com.tss.pojo.Course;
import com.tss.pojo.Result;

public interface CourseService{
	
	//新建课程
	public Result createCourse(Course course);
	
	//修改课程
	public Result updateCourse(Course course);
	
	//删除课程
	public Result deleteCourse(Long id);
	
	//课程列表
	public List<Course> findAllCourse();
	
	public Integer countAllCourses();
	
	public Course findCourse(Long id);
	
	public Result overCourse(Long id);
	
	
}
